#include "gnwclient.h"

CGnwClient::CGnwClient(int sock, IPSMonitor* mon, FnCommand cmd)
: CPSClient(sock, mon)
, m_fnCommand(cmd)
{
}

CGnwClient::~CGnwClient()
{
}

void CGnwClient::OnRecv(char* pData, int nLen)
{

}

IPSClient* CGnwClient::Create(int sock, IPSMonitor* mon, FnCommand cmd)
{
	CGnwClient*		p = new CGnwClient(sock, mon, cmd);

	if( !p->Init() )
	{
		p->Release();
		return 0;
	}

	return p;
}
